|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.eclipse.vtp.framework.interactions.core.support.Widget
org.eclipse.vtp.framework.interactions.voice.vxml.PropertiesSupport
public class PropertiesSupport
A support object for widgets that contain properties.
| Field Summary |
|---|
| Constructor Summary | |
|---|---|
PropertiesSupport()
Creates a new PropertiesSupport. |
|
| Method Summary | |
|---|---|
void |
clearProperty(java.lang.String propertyName)
Clears the value of a property. |
java.lang.String[] |
getPropertyNames()
Returns the names of the properties. |
java.lang.String |
getPropertyValue(java.lang.String propertyName)
Returns the value of the specified property or null if no
such property exists. |
void |
setProperty(java.lang.String propertyName,
java.lang.String propertyValue)
Sets the value of a property. |
protected void |
writeProperties(org.xml.sax.ContentHandler outputHandler)
Writes the properties to an XML document fragment. |
void |
writeWidget(org.xml.sax.ContentHandler outputHandler)
Writes the content of this widget to an XML content handler. |
| Methods inherited from class org.eclipse.vtp.framework.interactions.core.support.Widget |
|---|
toString, writeAttribute, writeChildren, writeChildren, writeWidget, writeWidget |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public PropertiesSupport()
| Method Detail |
|---|
public java.lang.String[] getPropertyNames()
public java.lang.String getPropertyValue(java.lang.String propertyName)
throws java.lang.NullPointerException
null if no
such property exists.
propertyName - The name of the property to find the value of.
null if no
such property exists.
java.lang.NullPointerException - If the supplied property name is
null.
public void setProperty(java.lang.String propertyName,
java.lang.String propertyValue)
throws java.lang.NullPointerException
propertyName - The name of the property to set.propertyValue - The value to set the property to.
java.lang.NullPointerException - If the supplied property name or value is
null.
public void clearProperty(java.lang.String propertyName)
throws java.lang.NullPointerException
propertyName - The name of the property to clear.
java.lang.NullPointerException - If the supplied property name is
null.
public void writeWidget(org.xml.sax.ContentHandler outputHandler)
throws java.lang.NullPointerException,
org.xml.sax.SAXException
Widget
writeWidget in class WidgetoutputHandler - The handler to write this widget to.
java.lang.NullPointerException - If the supplied content handler is
null.
org.xml.sax.SAXException - If the writing of this widget fails.
protected void writeProperties(org.xml.sax.ContentHandler outputHandler)
throws java.lang.NullPointerException,
org.xml.sax.SAXException
outputHandler - The handler to write the properties to.
org.xml.sax.SAXException - If the writing of the properties fails.
java.lang.NullPointerException - If the supplied content handler is
null.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||